<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBorrowersRecorde
 *
 * @ORM\Table(name="p2p_borrowers_recorde", uniqueConstraints={@ORM\UniqueConstraint(name="brid", columns={"brid"})}, indexes={@ORM\Index(name="brr_type", columns={"brr_type"}), @ORM\Index(name="brr_status", columns={"brr_status"})})
 * @ORM\Entity
 */
class P2pBorrowersRecorde
{
    /**
     * @var integer
     *
     * @ORM\Column(name="brid", type="integer", nullable=false)
     */
    private $brid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="brr_receive_time", type="integer", nullable=false)
     */
    private $brrReceiveTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="brr_original_data", type="text", length=65535, nullable=true)
     */
    private $brrOriginalData;

    /**
     * @var string
     *
     * @ORM\Column(name="brr_receive_data", type="text", length=65535, nullable=true)
     */
    private $brrReceiveData;

    /**
     * @var boolean
     *
     * @ORM\Column(name="brr_type", type="boolean", nullable=false)
     */
    private $brrType = '0';

    /**
     * @var boolean
     *
     * @ORM\Column(name="brr_status", type="boolean", nullable=false)
     */
    private $brrStatus = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="brr_pipei_time", type="integer", nullable=false)
     */
    private $brrPipeiTime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="brr_pipei_adminid", type="integer", nullable=false)
     */
    private $brrPipeiAdminid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="brr_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $brrId;



    /**
     * Set brid
     *
     * @param integer $brid
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrid($brid)
    {
        $this->brid = $brid;

        return $this;
    }

    /**
     * Get brid
     *
     * @return integer
     */
    public function getBrid()
    {
        return $this->brid;
    }

    /**
     * Set brrReceiveTime
     *
     * @param integer $brrReceiveTime
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrReceiveTime($brrReceiveTime)
    {
        $this->brrReceiveTime = $brrReceiveTime;

        return $this;
    }

    /**
     * Get brrReceiveTime
     *
     * @return integer
     */
    public function getBrrReceiveTime()
    {
        return $this->brrReceiveTime;
    }

    /**
     * Set brrOriginalData
     *
     * @param string $brrOriginalData
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrOriginalData($brrOriginalData)
    {
        $this->brrOriginalData = $brrOriginalData;

        return $this;
    }

    /**
     * Get brrOriginalData
     *
     * @return string
     */
    public function getBrrOriginalData()
    {
        return $this->brrOriginalData;
    }

    /**
     * Set brrReceiveData
     *
     * @param string $brrReceiveData
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrReceiveData($brrReceiveData)
    {
        $this->brrReceiveData = $brrReceiveData;

        return $this;
    }

    /**
     * Get brrReceiveData
     *
     * @return string
     */
    public function getBrrReceiveData()
    {
        return $this->brrReceiveData;
    }

    /**
     * Set brrType
     *
     * @param boolean $brrType
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrType($brrType)
    {
        $this->brrType = $brrType;

        return $this;
    }

    /**
     * Get brrType
     *
     * @return boolean
     */
    public function getBrrType()
    {
        return $this->brrType;
    }

    /**
     * Set brrStatus
     *
     * @param boolean $brrStatus
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrStatus($brrStatus)
    {
        $this->brrStatus = $brrStatus;

        return $this;
    }

    /**
     * Get brrStatus
     *
     * @return boolean
     */
    public function getBrrStatus()
    {
        return $this->brrStatus;
    }

    /**
     * Set brrPipeiTime
     *
     * @param integer $brrPipeiTime
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrPipeiTime($brrPipeiTime)
    {
        $this->brrPipeiTime = $brrPipeiTime;

        return $this;
    }

    /**
     * Get brrPipeiTime
     *
     * @return integer
     */
    public function getBrrPipeiTime()
    {
        return $this->brrPipeiTime;
    }

    /**
     * Set brrPipeiAdminid
     *
     * @param integer $brrPipeiAdminid
     *
     * @return P2pBorrowersRecorde
     */
    public function setBrrPipeiAdminid($brrPipeiAdminid)
    {
        $this->brrPipeiAdminid = $brrPipeiAdminid;

        return $this;
    }

    /**
     * Get brrPipeiAdminid
     *
     * @return integer
     */
    public function getBrrPipeiAdminid()
    {
        return $this->brrPipeiAdminid;
    }

    /**
     * Get brrId
     *
     * @return integer
     */
    public function getBrrId()
    {
        return $this->brrId;
    }
}
